package top.hepingan.java.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

@Data
@Accessors(chain = true)
@TableName("orders")
public class Orders {

    @TableId(type = IdType.AUTO)
    private Long id;

    private Long userId;

    private String title;

    private String content;

    private String language;
    //最低预算
    private Integer lessBudget;
    //最高预算
    private Integer highBudget;
    //状态
    private String status;

    private Integer expectation;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdTime;

    private String file;
}
